import http from './http';

export const getMemberInfo = (params) => http.get('/member', { params });
export const addMemberInfo = (params) => http.post('/member', params);
export const getImagesInfo = (params) => http.get('/media/images', { params });
export const getMemberCreate = () => http.get('/member/create');
export const getMessageInfo = (params) => http.post('/member/message/multi', params);
export const getUserCoursesInfo = (params) => http.get('/member/' + params.id + '/detail/userCourses', { params });
export const getDetailInfo = (params) => http.get('/member/' + params.id + '/detail', { params });
export const setUserInfo = (params) => http.put('/member/field/multi', params);
export const setVIPUserInfo = (params) => http.get('/role', { params });
export const getUserInfo = (params) => http.get('/member/params.id',{params});
export const changeCredit = (params) => http.post('/member/credit1/change',params);
export const changeTags = (params) => http.put('/member/' + params.id + '/tags',params);



